<?php
$this->breadcrumbs=array(
    Yii::t('site','Admin')=>array('/admin'),
    Yii::t('site','Posts')=>array('/post/admin'),
    $model->title=>$model->url,
    Yii::t('site','Update'),
    $model->id,
);

$this->menu=array(
    array('label'=>Yii::t('site','This Item'), 'items'=>array(
        array('label'=>Yii::t('site','View Post'), 'url'=>$model->getUrl()),
        array('label'=>Yii::t('site','Delete Post'), 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
    )),
    array('label'=>Yii::t('site','All Items'), 'items'=>array(
        array('label'=>Yii::t('site','List Posts'), 'url'=>array('index')),
        array('label'=>Yii::t('site','Manage Posts'), 'url'=>array('admin')),
    )),
);
?>

<h1>Update <i><?php echo CHtml::encode($model->title); ?></i></h1>

<?php echo $this->renderPartial('_form', array('model'=>$model)); ?>
